﻿CREATE TABLE [dbo].[Issue] (
    [IssueId]     INT              IDENTITY (1, 1) NOT NULL,
    [Description] VARCHAR (255)    NULL,
    [TargetId]    UNIQUEIDENTIFIER NULL,
    [IssueTypeId] INT              NULL,
    CONSTRAINT [PK_Issue] PRIMARY KEY CLUSTERED ([IssueId] ASC),
    CONSTRAINT [FK_Issue_IssueType] FOREIGN KEY ([IssueTypeId]) REFERENCES [dbo].[IssueType] ([IssueTypeId])
);

